package com.groupbuying.currency.producer.domain;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;


/**
 * 积分支付表
 * 
 * @author mzfei
 * @email hdmzfei@163.com
 * @date 2019-09-04 09:45:11
 * @des
 */
public class CurrencyPrepayInfoDO implements Serializable {
	private static final long serialVersionUID = 1L;
	

	/**
	 * 日志id
	 */
	private String prepayId;

	/**
	 * 会员id
	 */
	private String customerId;

	/**
	 * 积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	private String state;

	/**
	 * 删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	private String delFlag;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 操作时间
	 */
	private String opeTime;

	/**
	 * 支付单号
	 */
	private String prepayNo;

	/**
	 * 订单号
	 */
	private String orderNum;

	/**
	 * 平台编号
	 */
	private String platformBusnum;

	/**
	 * 业务类型描述：扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	private String businessType;

	/**
	 * 支付积分
	 */
	private BigDecimal payCurrency;
    // 临时字段拦截器校验
    private String code;
    // 支付地址
    private String url;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    /**
	 * 设置：日志id
	 */
	public void setPrepayId(String prepayId) {
		this.prepayId = prepayId;
	}
	/**
	 * 获取：日志id
	 */
	public String getPrepayId() {
		return prepayId;
	}
	/**
	 * 设置：会员id
	 */
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	/**
	 * 获取：会员id
	 */
	public String getCustomerId() {
		return customerId;
	}
	/**
	 * 设置：积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：积分操作状态:减扣中-SUCCESS-0,扣减成功-SUCCESS-1,扣减失败-FAIL-2
	 */
	public String getState() {
		return state;
	}
	/**
	 * 设置：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	/**
	 * 获取：删除标记:未删除-UNDEL-1,删除-DEL-0
	 */
	public String getDelFlag() {
		return delFlag;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public String getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：操作时间
	 */
	public void setOpeTime(String opeTime) {
		this.opeTime = opeTime;
	}
	/**
	 * 获取：操作时间
	 */
	public String getOpeTime() {
		return opeTime;
	}
	/**
	 * 设置：支付单号
	 */
	public void setPrepayNo(String prepayNo) {
		this.prepayNo = prepayNo;
	}
	/**
	 * 获取：支付单号
	 */
	public String getPrepayNo() {
		return prepayNo;
	}
	/**
	 * 设置：订单号
	 */
	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}
	/**
	 * 获取：订单号
	 */
	public String getOrderNum() {
		return orderNum;
	}
	/**
	 * 设置：平台编号
	 */
	public void setPlatformBusnum(String platformBusnum) {
		this.platformBusnum = platformBusnum;
	}
	/**
	 * 获取：平台编号
	 */
	public String getPlatformBusnum() {
		return platformBusnum;
	}
	/**
	 * 设置：业务类型描述：扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}
	/**
	 * 获取：业务类型描述：扣减积分-currencypay-扣减积分,积分返还-currencyadd-积分返还
	 */
	public String getBusinessType() {
		return businessType;
	}
	/**
	 * 设置：支付积分
	 */
	public void setPayCurrency(BigDecimal payCurrency) {
		this.payCurrency = payCurrency;
	}
	/**
	 * 获取：支付积分
	 */
	public BigDecimal getPayCurrency() {
		return payCurrency;
	}

    @Override
    public String toString() {
        return "CurrencyPrepayInfoDO{" +
									                    "prepayId=" + prepayId +
					                										",customerId=" + customerId +
					                										",state=" + state +
					                										",delFlag=" + delFlag +
					                										",createTime=" + createTime +
					                										",opeTime=" + opeTime +
					                										",prepayNo=" + prepayNo +
					                										",orderNum=" + orderNum +
					                										",platformBusnum=" + platformBusnum +
					                										",businessType=" + businessType +
					                										",payCurrency=" + payCurrency +
					                				"}";
    }
}
